package za.org.meraka.cair.ontorepair;

import org.protege.editor.core.ui.list.MListItem;
import org.semanticweb.owlapi.model.OWLObject;
import org.semanticweb.owlapi.model.OWLAxiom;
import java.util.Set;

public class JustificationListItem implements MListItem {

    private OWLObject object;
    private Set<Set<OWLAxiom>> setAxioms;


    public JustificationListItem(OWLObject object) {
        this.object = object;
    }
    
    public JustificationListItem(Set<Set<OWLAxiom>> setAxioms) {
        this.setAxioms = setAxioms;
    }


    public OWLObject getOWLObject() {
        return object;
    }
    
    public Set<Set<OWLAxiom>> getOWLAxioms() {
        return setAxioms;
    }

    public String toString() {
        return object.toString();
    }


    public boolean isEditable() {
        return false;
    }


    public void handleEdit() {
    }


    public boolean isDeleteable() {
        return false;
    }


    public boolean handleDelete() {
        return false;
    }


    public String getTooltip() {
        return null;
    }
}
